package com.order.service;


import com.order.pojo.Customer;


import java.util.List;

public interface CustomerService {
    Boolean submit(Customer customer);
    Customer login(String phone, String password);
    Boolean updatePassword(String phone, String oldPass,String newPass);
    Boolean recharge(Integer id,Double money);
    Boolean pay(Integer id,Double money);
    Boolean updateFlavorAndTaboo(Customer customer);
    List<Customer> findAllCustomers();
}
